{*

* 2007-2011 PrestaShop 

*

* NOTICE OF LICENSE

*

* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/afl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to license@prestashop.com so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

*  @author PrestaShop SA <contact@prestashop.com>

*  @copyright  2007-2011 PrestaShop SA

*  @version  Release: $Revision: 6594 $

*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)

*  International Registered Trademark & Property of PrestaShop SA

*}



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">

	<head>
<link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin,cyrillic-ext,cyrillic' rel='stylesheet' type='text/css'>

		<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>

{if isset($meta_description) AND $meta_description}

		<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />

{/if}

{if isset($meta_keywords) AND $meta_keywords}

		<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />

{/if}

		<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

		<meta name="generator" content="PrestaShop" />

		<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />

		<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />

		<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" />

		<script type="text/javascript">

			var baseDir = '{$content_dir}';

			var static_token = '{$static_token}';

			var token = '{$token}';

			var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};

			var priceDisplayMethod = {$priceDisplay};

			var roundMode = {$roundMode};

		</script>

{if isset($css_files)}

	{foreach from=$css_files key=css_uri item=media}

	<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />

	{/foreach}

{/if}

{if isset($js_files)}

	{foreach from=$js_files item=js_uri}

	<script type="text/javascript" src="{$js_uri}"></script>

	{/foreach}

{/if}

		{$HOOK_HEADER}

<link href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin,cyrillic-ext,cyrillic' rel='stylesheet' type='text/css'>

	</head>

	

	<body {if $page_name eq '404'}id="pagenotfound"{elseif $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>

	{if !$content_only}

		{if isset($restricted_country_mode) && $restricted_country_mode}

		<div id="restricted-country">

			<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p>

		</div>

		{/if}

		<div id="page" class="container_9 clearfix">



			<!-- Header -->

			<div id="header" class="grid_9 alpha omega">

				<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

					<img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} />

				</a>

				<div id="header_right" class="grid_6 omega">

					{$HOOK_TOP}

				</div>

			</div>



			<div id="columns" class="grid_9 alpha omega clearfix">

				<!-- Left -->

                {if $page_name == 'category' OR $page_name == 'search' OR $page_name == 'payment' OR $page_name == 'product' OR $page_name == 'cms' OR $page_name == 'new-products' OR $page_name == 'prices-drop'}

				<div id="left_column" class="column grid_2 alpha">

					{$HOOK_LEFT_COLUMN}

				</div>

                {else}

                {/if}



				<!-- Center -->

                {if $page_name == 'index' OR $page_name == 'order' OR $page_name == 'authentication' OR $page_name == 'order-slip' OR $page_name == 'history' OR $page_name == 'addresses' OR $page_name == 'identity' OR $page_name == 'discount' OR $page_name == 'contact-form' OR $page_name == 'supplier' OR $page_name == '' OR $page_name =='order-opc' OR  $page_name =='password' OR $page_name =='module-cheque-payment' OR $page_name =='my-account' OR $page_name =='module-paypal-about' OR $page_name =='module-bankwire-payment' OR $page_name =='module-agilesellerproducts-sellers' OR $page_name =='order-confirmation' OR $page_name =='module-cashondelivery-validation'}

				<div id="center_column" class="full_width">

                {elseif $page_name == 'category' OR $page_name == 'search' OR $page_name == 'prices-drop' OR $page_name == 'new-products'}

                <div id="center_column" class="half_width">

                {elseif $page_name == 'product' OR $page_name == 'user' OR $page_name == 'cms'}

                <div id="center_column" class="grid_5">

                {/if}

	{/if}

